from typing import *


class Solution:

    def twoSum(self, numbers: List[int], target: int) -> List[int]:
        l, r = 0, len(numbers) - 1
        while l < r:
            a, b = numbers[l], numbers[r]
            if a + b == target:
                return [l + 1, r + 1]
            if a + b > target:
                r -= 1
            else:
                l += 1
